<template>
  <div class="user_right fl ml20">
    <el-tabs v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="安全中心" name="first">
        <div class="acount_bind bd1 mt30 relative line36">
          <i></i>
          <p>
            <b class="f18 c333">登录密码</b>
            <span class="c999 ml30">互联网账号存在被盗风险，建议您定期更改密码以保护账户安全</span>
          </p>
          <router-link to="/my/psw" class="f14 bgff0000 center">修改密码</router-link>
        </div>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
export default {
  name: 'rt-safe',
  metaInfo: {
    title: '账户绑定',
    titleTemplate: '工流界MRO一站式采购商城'
  },
  data () {
    return {
      activeName: 'first',
      hasMod: true
    }
  },
  methods: {
    handleClick (tab, event) {
      console.log(tab, event)
    }
  }
}
</script>

<style lang="scss" scoped>
.user_right {
  width: 950px;
  background: #fff;
  /deep/.el-tabs {
    padding-bottom: 40px;
    padding: 30px;
    .el-tabs__header {
      height: 40px;
      border-bottom: 1px solid #e6e6e6;
      .el-tabs__item {
        padding: 0 38px;
        height: 40px;
        box-sizing: border-box;
        line-height: 40px;
        display: inline-block;
        list-style: none;
        font-weight: 500;
        color: #4448f8;
        position: relative;
        font-size: 18px;
      }
      .el-tabs__item:hover {
        color: #4448f8;
      }
      .el-tabs__active-bar {
        height: 3px;
        background-color: #4448f8;
        width: 110px !important;
        transform: translateX(25px) !important;
      }
    }
    .el-tabs__content {
      color: #333;
      margin-top: 30px;
      .acount_bind {
        padding: 45px 30px 45px 96px;
        i {
          width: 36px;
          height: 36px;
          position: absolute;
          left: 30px;
          top: 50%;
          margin-top: -18px;
          background: url('../../../assets/img/val.png') no-repeat 0 -237px;
        }
        .center {
          width: 100px;
          height: 30px;
          line-height: 30px;
          display: block;
          position: absolute;
          top: 50%;
          right: 30px;
          margin-top: -15px;
          border-radius: 5px;
          text-align: center;
        }
        .bgff0000 {
          background: #ff0000;
          color: #fff;
        }
      }
      .relative {
        position: relative;
      }
    }
  }
}
.c999 {
    color: #999;
}
.ml30 {
    margin-left: 30px;
}

.line36 {
    line-height: 36px;
}
.bd1 {
    border: 1px solid #e6e6e6;
}
.mt30 {
    margin-top: 30px;
}
.c333 {
  color: #333;
}
.fl {
    float: left;
    display: inline;
}
.c999 {
    color: #999;
}
.f14 {
    font-size: 14px;
}
.mt10 {
    margin-top: 10px;
}
.c333 {
    color: #333;
}
.f18 {
    font-size: 18px;
}
.mr20 {
    margin-right: 20px;
}

</style>
